package com.tuangou.tuangouheader.header.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tuangou.tuangouheader.header.entity.GroupGoodsEntity;
import com.tuangou.tuangouheader.header.entity.vo.TbGroupGoodsEntityVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author cxy
 * @email cxy@tuangou.com
 * @date 2021-06-17 20:08:26
 */
@Mapper
public interface GroupGoodsDao extends BaseMapper<GroupGoodsEntity> {

    GroupGoodsEntity findGroupGoods(Integer goodsId);

    List<TbGroupGoodsEntityVo> findAll(@Param("status") int status, @Param("mohu") String mohu);
}
